Skip to content

fix(web): point PAT "How to use it" link to the CLI PAT docs - #46597

Closed
wylswz wants to merge 1 commit into
langgenius:mainfrom
wylswz:fix/pat-cli-doc-link
Closed

wylswz wants to merge 1 commit into
langgenius:mainfrom
wylswz:fix/pat-cli-doc-link

Conversation

@wylswz

@wylswz wylswz commented Nov 17, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The "How to use it" link in the personal access token creation dialog pointed to the Service API get-started guide, but PATs are used with difyctl and /openapi/v1. Point it to /cli/personal-access-tokens and add that path to web/types/doc-paths.ts.

Note: the /cli/personal-access-tokens page must also land in dify-docs.

Checklist

  • This change requires a documentation update, included: Dify Document
  • I understand that this PR may be closed in case there was no previous discussion or issues. (This doesn't apply to typos!)
  • I've verified the change and added or updated tests where meaningful regression risk justifies coverage.
  • I've updated the documentation accordingly.
  • I ran make lint && make type-check (backend) and vp staged (frontend) to appease the lint gods

From Devin

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@github-actions github-actions Bot added web This relates to changes on the web. size:XS This PR changes 0-9 lines, ignoring generated files. labels Nov 17, 2026
@codecov

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.25%. Comparing base (ff57688) to head (3db7dcb).
⚠️ Report is 2 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main   #46597      +/-   ##
==========================================
- Coverage   90.25%   90.25%   -0.01%     
==========================================
  Files        6438     6438              
  Lines      405460   405460              
  Branches    81528    81528              
==========================================
- Hits       365961   365947      -14     
- Misses      33097    33111      +14     
  Partials     6402     6402              
Flag Coverage Δ
dify-ui 92.65% <ø> (ø)
web 90.36% <ø> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wylswz

wylswz commented Nov 17, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by a stacked PR from a branch in langgenius/dify (same change).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files. web This relates to changes on the web.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant